#define _CRT_SECURE_NO_WARNINGS 1
struct ListNode* middleNode(struct ListNode* head) {

    struct ListNode* show, * fast;
    show = fast = head;

    while (fast && fast->next)
    {
        show = show->next;
        fast = fast->next->next;
    }
    return show;

}